Commit f55a7ba0 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/ituh263dec: detect and warn about RTP

Fixes Ticket925
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 5c6a5874
......@@ -874,6 +874,10 @@ int ff_h263_decode_picture_header(MpegEncContext *s)
align_get_bits(&s->gb);
if (show_bits(&s->gb, 2) == 2 && s->avctx->frame_number == 0) {
av_log(s->avctx, AV_LOG_WARNING, "Header looks like RTP instead of H.263\n");
}
startcode= get_bits(&s->gb, 22-8);
for(i= get_bits_left(&s->gb); i>24; i-=8) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment