aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/hevcdec.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2017-03-23 14:27:48 -0300
committerJames Almer <jamrial@gmail.com>2017-03-23 14:27:48 -0300
commit6397815be0bee10948387fcb90ead36ec2834ef7 (patch)
treee616efad05f1147821dd80f88dae04707d795193 /libavformat/hevcdec.c
parenta1a80a6c9ce5309632a8b5c0241fa5ffcd09b5fc (diff)
parentc359d624d3efc3fd1d83210d78c4152bd329b765 (diff)
downloadffmpeg-6397815be0bee10948387fcb90ead36ec2834ef7.tar.gz
Merge commit 'c359d624d3efc3fd1d83210d78c4152bd329b765'
* commit 'c359d624d3efc3fd1d83210d78c4152bd329b765': hevcdec: move decoder-independent declarations into a separate header Merged-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/hevcdec.c')
-rw-r--r--libavformat/hevcdec.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/libavformat/hevcdec.c b/libavformat/hevcdec.c
index 28500fb649..aaab0ffa2f 100644
--- a/libavformat/hevcdec.c
+++ b/libavformat/hevcdec.c
@@ -19,7 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include "libavcodec/hevcdec.h"
+#include "libavcodec/hevc.h"
#include "avformat.h"
#include "rawdec.h"
@@ -43,15 +43,15 @@ static int hevc_probe(AVProbeData *p)
return 0;
switch (type) {
- case NAL_VPS: vps++; break;
- case NAL_SPS: sps++; break;
- case NAL_PPS: pps++; break;
- case NAL_BLA_N_LP:
- case NAL_BLA_W_LP:
- case NAL_BLA_W_RADL:
- case NAL_CRA_NUT:
- case NAL_IDR_N_LP:
- case NAL_IDR_W_RADL: irap++; break;
+ case HEVC_NAL_VPS: vps++; break;
+ case HEVC_NAL_SPS: sps++; break;
+ case HEVC_NAL_PPS: pps++; break;
+ case HEVC_NAL_BLA_N_LP:
+ case HEVC_NAL_BLA_W_LP:
+ case HEVC_NAL_BLA_W_RADL:
+ case HEVC_NAL_CRA_NUT:
+ case HEVC_NAL_IDR_N_LP:
+ case HEVC_NAL_IDR_W_RADL: irap++; break;
}
}
}