diff options
author | Diego Biurrun <diego@biurrun.de> | 2007-06-12 18:50:50 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2007-06-12 18:50:50 +0000 |
commit | 90b5b51eab008ddb24701bb95aa4c017e62bb111 (patch) | |
tree | 47bc9eb153584ccf309c27277fb56c2d1468230f /libavcodec/mpegvideo.c | |
parent | c294d7c6bafb5115dbaffd12aec4530ffed3a0b4 (diff) | |
download | ffmpeg-90b5b51eab008ddb24701bb95aa4c017e62bb111.tar.gz |
misc typo fixes
Originally committed as revision 9291 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegvideo.c')
-rw-r--r-- | libavcodec/mpegvideo.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index 97ac828371..cef6013f61 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -441,11 +441,12 @@ static int alloc_picture(MpegEncContext *s, Picture *pic, int shared){ CHECKED_ALLOCZ(pic->pan_scan , 1 * sizeof(AVPanScan)) } - //it might be nicer if the application would keep track of these but it would require a API change + /* It might be nicer if the application would keep track of these + * but it would require an API change. */ memmove(s->prev_pict_types+1, s->prev_pict_types, PREV_PICT_TYPES_BUFFER_SIZE-1); s->prev_pict_types[0]= s->pict_type; if(pic->age < PREV_PICT_TYPES_BUFFER_SIZE && s->prev_pict_types[pic->age] == B_TYPE) - pic->age= INT_MAX; // skipped MBs in b frames are quite rare in mpeg1/2 and its a bit tricky to skip them anyway + pic->age= INT_MAX; // Skipped MBs in B-frames are quite rare in MPEG-1/2 and it is a bit tricky to skip them anyway. return 0; fail: //for the CHECKED_ALLOCZ macro |