Skip to content

Commit a4f97a5

Browse files
committed
Enable api2-decode-raw-h264 sample when AVFORMAT disabled
1 parent 354ac51 commit a4f97a5

2 files changed

Lines changed: 0 additions & 4 deletions

File tree

example/api2-samples/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ if (AV_DISABLE_AVFORMAT)
3535
api2-decode-encode-audio
3636
api2-decode-filter-encode
3737
api2-hw-encode
38-
api2-decode-raw-h264
3938
api2-decode-audio
4039
api2-remux
4140
api2-scale-video

example/api2-samples/api2-decode-raw-h264.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
#include "avutils.h"
1212

1313
// API2
14-
#include "format.h"
15-
#include "formatcontext.h"
1614
#include "codec.h"
1715
#include "codeccontext.h"
1816

@@ -96,7 +94,6 @@ int main(int argc, char **argv)
9694
string uri {argv[1]};
9795

9896
VideoDecoderContext vdec;
99-
Stream vst;
10097
error_code ec;
10198

10299
{

0 commit comments

Comments
 (0)