diff options
author | Wan-Teh Chang <wtc-at-google.com@ffmpeg.org> | 2017-07-06 09:42:24 -0700 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2017-07-07 03:48:56 +0200 |
commit | dc11a467e622d78330295d3973999c4d2d6beb03 (patch) | |
tree | 684e98193773b87a6260b15c4c961fd9455977b5 /ffmpeg.c | |
parent | 3b9cf943c97f95368db92a8983a888b441925f18 (diff) |
ffmpeg: Fix typos in the comment for decode() ("." vs. "->")
pkt is a pointer, so it should be dereferenced with the -> operator.
Signed-off-by: Wan-Teh Chang <wtc@google.com>
Reviewed-by: Steven Liu <lingjiujianke@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2253,8 +2253,8 @@ static int ifilter_send_eof(InputFilter *ifilter) // This does not quite work like avcodec_decode_audio4/avcodec_decode_video2. // There is the following difference: if you got a frame, you must call -// it again with pkt=NULL. pkt==NULL is treated differently from pkt.size==0 -// (pkt==NULL means get more output, pkt.size==0 is a flush/drain packet) +// it again with pkt=NULL. pkt==NULL is treated differently from pkt->size==0 +// (pkt==NULL means get more output, pkt->size==0 is a flush/drain packet) static int decode(AVCodecContext *avctx, AVFrame *frame, int *got_frame, AVPacket *pkt) { int ret; |