Message ID | 20160826184955.1004-1-jamrial@gmail.com |
---|---|
State | Accepted |
Commit | dc7e5adbc0867956102afc85e2b59b878e5a27ed |
Headers | show |
On Fri, Aug 26, 2016 at 03:49:55PM -0300, James Almer wrote: > Signed-off-by: James Almer <jamrial@gmail.com> > --- > libavformat/utils.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) LGTM thx [...]
On 8/27/2016 6:24 AM, Michael Niedermayer wrote: > On Fri, Aug 26, 2016 at 03:49:55PM -0300, James Almer wrote: >> Signed-off-by: James Almer <jamrial@gmail.com> >> --- >> libavformat/utils.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) > > LGTM > > thx Pushed.
diff --git a/libavformat/utils.c b/libavformat/utils.c index d7f3c7a..bdf43b3 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -614,7 +614,7 @@ static void force_codec_ids(AVFormatContext *s, AVStream *st) break; case AVMEDIA_TYPE_DATA: if (s->data_codec_id) - st->codec->codec_id = s->data_codec_id; + st->codecpar->codec_id = s->data_codec_id; break; } }
Signed-off-by: James Almer <jamrial@gmail.com> --- libavformat/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)