Originally committed as revision 24496 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini authored on 2010/07/25 23:41:06... | ... |
@@ -1290,10 +1290,7 @@ static void do_video_out(AVFormatContext *s, |
1290 | 1290 |
|
1291 | 1291 |
/* handles sameq here. This is not correct because it may |
1292 | 1292 |
not be a global option */ |
1293 |
- if (same_quality) { |
|
1294 |
- big_picture.quality = ist->st->quality; |
|
1295 |
- }else |
|
1296 |
- big_picture.quality = ost->st->quality; |
|
1293 |
+ big_picture.quality = same_quality ? ist->st->quality : ost->st->quality; |
|
1297 | 1294 |
if(!me_threshold) |
1298 | 1295 |
big_picture.pict_type = 0; |
1299 | 1296 |
// big_picture.pts = AV_NOPTS_VALUE; |