mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-06-19 19:03:00 +02:00
flv dropable p frame support
Originally committed as revision 3027 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
+3
-1
@@ -6054,8 +6054,10 @@ int flv_h263_decode_picture_header(MpegEncContext *s)
|
||||
s->height = height;
|
||||
|
||||
s->pict_type = I_TYPE + get_bits(&s->gb, 2);
|
||||
if (s->pict_type > P_TYPE)
|
||||
s->dropable= s->pict_type > P_TYPE;
|
||||
if (s->dropable)
|
||||
s->pict_type = P_TYPE;
|
||||
|
||||
skip_bits1(&s->gb); /* deblocking flag */
|
||||
s->chroma_qscale= s->qscale = get_bits(&s->gb, 5);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user