| | |
| | | ,io_ctx_(NULL) |
| | | ,read_io_buff_(NULL) |
| | | ,read_io_buff_size_(32768) |
| | | #ifdef GB28181 |
| | | ,handle_gb28181(NULL) |
| | | #endif |
| | | ,fps_(25.0) |
| | | {} |
| | | |
| | |
| | | ,io_ctx_(NULL) |
| | | ,read_io_buff_(NULL) |
| | | ,read_io_buff_size_(32768) |
| | | #ifdef GB28181 |
| | | ,handle_gb28181(NULL) |
| | | #endif |
| | | ,fps_(25.0) |
| | | { |
| | | prop_ = new VideoProp; |
| | |
| | | ctx_ = NULL; |
| | | } |
| | | |
| | | #ifdef GB28181 |
| | | if (handle_gb28181){ |
| | | delete handle_gb28181; |
| | | } |
| | | #endif |
| | | |
| | | if(io_ctx_){ |
| | | av_freep(&io_ctx_->buffer); |
| | |
| | | return 0; |
| | | } |
| | | |
| | | #ifdef GB28181 |
| | | int FormatIn::openGb28181(const char *filename, AVDictionary **options){ |
| | | |
| | | std::string fn = filename; |
| | |
| | | |
| | | return ret; |
| | | } |
| | | |
| | | #endif |
| | | ///////////////////////////////////////////////////////////////////////// |
| | | int FormatIn::open(const char *filename, AVDictionary **options){ |
| | | |