comparison ffmdec.c @ 4846:d816e298857c libavformat

remove useless duplication of what av_new_stream() already does
author aurel
date Fri, 10 Apr 2009 12:49:53 +0000
parents e69e94c9d3e2
children de6eb16c2b5b
comparison
equal deleted inserted replaced
4845:1f3ed3c89790 4846:d816e298857c
285 char rc_eq_buf[128]; 285 char rc_eq_buf[128];
286 286
287 st = av_new_stream(s, 0); 287 st = av_new_stream(s, 0);
288 if (!st) 288 if (!st)
289 goto fail; 289 goto fail;
290 s->streams[i] = st;
291 290
292 av_set_pts_info(st, 64, 1, 1000000); 291 av_set_pts_info(st, 64, 1, 1000000);
293 292
294 codec = st->codec; 293 codec = st->codec;
295 /* generic info */ 294 /* generic info */