Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
47f83030
Commit
47f83030
authored
Jun 15, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavf/aviobuf: use av_assert()
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
67703d64
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
aviobuf.c
libavformat/aviobuf.c
+2
-1
No files found.
libavformat/aviobuf.c
View file @
47f83030
...
@@ -24,6 +24,7 @@
...
@@ -24,6 +24,7 @@
#include "libavutil/intreadwrite.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/log.h"
#include "libavutil/log.h"
#include "libavutil/opt.h"
#include "libavutil/opt.h"
#include "libavutil/avassert.h"
#include "avformat.h"
#include "avformat.h"
#include "avio.h"
#include "avio.h"
#include "avio_internal.h"
#include "avio_internal.h"
...
@@ -712,7 +713,7 @@ int ffio_set_buf_size(AVIOContext *s, int buf_size)
...
@@ -712,7 +713,7 @@ int ffio_set_buf_size(AVIOContext *s, int buf_size)
static
int
url_resetbuf
(
AVIOContext
*
s
,
int
flags
)
static
int
url_resetbuf
(
AVIOContext
*
s
,
int
flags
)
{
{
a
ssert
(
flags
==
AVIO_FLAG_WRITE
||
flags
==
AVIO_FLAG_READ
);
a
v_assert1
(
flags
==
AVIO_FLAG_WRITE
||
flags
==
AVIO_FLAG_READ
);
if
(
flags
&
AVIO_FLAG_WRITE
)
{
if
(
flags
&
AVIO_FLAG_WRITE
)
{
s
->
buf_end
=
s
->
buffer
+
s
->
buffer_size
;
s
->
buf_end
=
s
->
buffer
+
s
->
buffer_size
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment