nutenc: use av_assert

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/59/head
Michael Niedermayer 13 years ago
parent 17bbb818ae
commit dd2086140c
  1. 2
      libavformat/nutenc.c

@ -810,7 +810,7 @@ static int nut_write_packet(AVFormatContext *s, AVPacket *pkt){
frame_code=i; frame_code=i;
} }
} }
assert(frame_code != -1); av_assert0(frame_code != -1);
fc= &nut->frame_code[frame_code]; fc= &nut->frame_code[frame_code];
flags= fc->flags; flags= fc->flags;
needed_flags= get_needed_flags(nut, nus, fc, pkt); needed_flags= get_needed_flags(nut, nus, fc, pkt);

Loading…
Cancel
Save