Michael Niedermayer
47550e62bf
avformat/astenc: avoid using AVCodecContext.frame_number
...
Theres no gurantee that the user application has initialized it
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
James Almer
b7d77f8e64
astenc: Enable the loop flag only when needed
...
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
James Almer
974ac57e83
astenc: Remove two AVRationals with denominator 1
...
They are completely superfluous when using av_rescale_q_rnd().
Call av_rescale_rnd() using what used to be the numerators instead.
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
b688a28470
astenc: fix assignment vs compare
...
Fixes CID747736
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
James Almer
b70251c0ad
AST Muxer
...
Signed-off-by: James Almer <jamrial@gmail.com>
12 years ago