Skip to content

Commit

Permalink
[fbsync] Drop virtual from private member functions of Decoder class (#…
Browse files Browse the repository at this point in the history
…4027)

Reviewed By: fmassa

Differential Revision: D29097737

fbshipit-source-id: b317a34c7a0fa4dc77efbc05a54141c69bf3c1fd
  • Loading branch information
NicolasHug authored and facebook-github-bot committed Jun 14, 2021
1 parent d946d8e commit ea99221
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions torchvision/csrc/io/decoder/decoder.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ class Decoder : public MediaDecoder {

private:
// mark below function for a proper invocation
virtual bool enableLogLevel(int level) const;
virtual void logCallback(int level, const std::string& message);
virtual int readCallback(uint8_t* buf, int size);
virtual int64_t seekCallback(int64_t offset, int whence);
virtual int shutdownCallback();
bool enableLogLevel(int level) const;
void logCallback(int level, const std::string& message);
int readCallback(uint8_t* buf, int size);
int64_t seekCallback(int64_t offset, int whence);
int shutdownCallback();

bool openStreams(std::vector<DecoderMetadata>* metadata);
Stream* findByIndex(int streamIndex) const;
Expand Down

0 comments on commit ea99221

Please sign in to comment.