This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
lavc: avcodec_get_name: return "none" for AV_CODEC_ID_NONE.
tags/n1.0
Nicolas George
13 years ago
parent
c9fe864472
commit
c28d80f4c9
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
libavcodec/utils.c
+ 2
- 0
libavcodec/utils.c
View File
@@ -1851,6 +1851,8 @@ const char *avcodec_get_name(enum AVCodecID id)
const AVCodecDescriptor *cd;
AVCodec *codec;
if (id == AV_CODEC_ID_NONE)
return "none";
cd = avcodec_descriptor_get(id);
if (cd)
return cd->name;
Write
Preview
Loading…
Cancel
Save